﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
namespace SevenInvaders.LEVEL_FERNANDA
{
    class Level_Fernanda
         {
        FernandaPlayer fernandaPlayer;

        public Level_Fernanda(ContentManager Content, GameWindow Window)
        {
            fernandaPlayer = new FernandaPlayer(Content.Load<Texture2D>("LEVEL_FERNANDA/navePlayer"), new Vector2(0, 10), 1, Window, Content);
        }

        public void Update(GameTime gameTime, KeyboardState teclado, KeyboardState teclado_anterior)
        {
            fernandaPlayer.Update(gameTime, teclado);
        }

        public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            fernandaPlayer.Draw(gameTime, spriteBatch);
        }


    }
}
  
